.color-picker{
    width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 5px;
    overflow: hidden;
    // background-color: rgb(245, 245, 245);
    box-shadow: 0px 0px 20px rgb(187, 187, 187);
    .color-picker-top{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin: 10px;
        .color-picker-top-hex{
            height: 100%;
            width: 110px;
            display: flex;
            flex-direction: column;
            span{
                text-align: center;
            }
        }
        .color-picker-top-rgba{
            height: 100%;
            width: 80px;
            display: flex;
            flex-direction: column;
            span{
                text-align: center;
            }
        }

    }
    .color-picker-tools{
        height: 80px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin: 5px 0;
        .left{
            height: 80px;
            width: 420px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
            .color{
                height: 30px;
                width: 100%;
                position: relative;
                border-radius: 5px;
                background: linear-gradient(to left, red 0px, rgb(255, 0, 153) 10%, rgb(205, 0, 255) 20%, rgb(50, 0, 255) 30%, rgb(0, 102, 255) 40%, rgb(0, 255, 253) 50%, rgb(0, 255, 102) 60%, rgb(53, 255, 0) 70%, rgb(205, 255, 0) 80%, rgb(255, 153, 0) 90%, red 100%);
                .color-flag{
                    height: 35px;
                    position: absolute;
                    width: 15px;
                    border-radius: 4px;
                    border: 1px solid black;
                    background-color: rgb(229, 229, 229);
                    top: -4px;
                    box-shadow: 2px 2px 4px gray;
                    cursor: pointer;
                    text-align: center;
                    line-height: 35px;
                }
            }
            .alpha{
                height: 30px;
                width: 100%;
                border-radius: 5px;
                position: relative;
                background: url("");
                .alpha-flag{
                    height: 35px;
                    position: absolute;
                    width: 15px;
                    border-radius: 4px;
                    border: 1px solid black;
                    background-color: rgb(229, 229, 229);
                    top: -4px;
                    box-shadow: 2px 2px 4px gray;
                    cursor: pointer;
                    text-align: center;
                    line-height: 35px;
                }
            }
        }
        .right{
            height: 80px;
            width: 80px;
            .color-picker-top-color{
                height: 80px;
                width: 80px;
                background: url("");
                .color-picker-top-color-rgba{
                    height: 80px;
                    width: 80px;
                    border-radius: 5px;
                    // transition: all 0.1s ease;
                }
            }
        }
    }
    .color-picker-bottom{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        .color-picker-left{
            width: 558px;
            height: 358px;
            display: flex;
            position: relative;
            flex-direction: column;
            overflow: hidden;
            .color-picker-cvs-picker{
                width: 100%;
                height: 100%;
                border-radius: 5px;
                overflow: hidden;
                color: rgb(250, 2, 2);
                // border: 1px solid rgb(120, 120, 120);
            }
    
            .color-picker-slider{
                position: absolute;
                left: 0;
                top: 0;
                background-color: rgba(251, 251, 251, 0);
                // border: 1px solid rgb(0, 0, 0);
                width: 18px;
                height: 18px;
                border-radius: 18px;
                cursor: pointer;
                pointer-events: none;
                
            }
    
        }
    }
}